package com.example.nacos.mapper;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.nacos.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

/**
 * 订单Mapper接口 - 使用从数据源2
 */
@Component
@Mapper
@DS("slave2")
public interface OrderMapper extends BaseMapper<Order> {

}